﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TMI85303.UI.ViewModels
{
    public partial class SettingSelectItem : ObservableObject
    {
        [ObservableProperty]
        private string? name;

        [ObservableProperty]
        private bool? isSelected;
    }

    public partial class SystemConfigVM : ObservableObject
    {
        //public List<SettingSelectItem> LeftSelectItemList { get; set; } = new List<SettingSelectItem>()
        //{
        //    new(){Name = "张三",IsSelected=false},
        //    new(){Name = "王五",IsSelected=true},
        //    new(){Name = "李飞",IsSelected=false},
        //    new(){Name = "唐大",IsSelected=false},

        //};

        public List<string> LeftSelectItemList { get; set; } = new()
        {
            "张三",
            "王五",
            "李飞",
            "唐大",
        };
    }
}
